package com.jiahe.yehua.order;

import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author 阿良
 * @version 1.0
 * @date 2021/9/11 14:17
 */
@FeignClient(value = "service-order")
@Repository
public interface OrderFeignClient {
    /**
     *远程调用根据排班id获取预约下单数据
     * @param orderCountQueryVo
     * @return
     */
    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String, Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);

}
